x11: Use G_DEFINE_TYPE() to define GdkVisual
authorBenjamin Otte <otte@redhat.com>
Sun, 29 Aug 2010 14:40:48 +0000 (16:40 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 26 Sep 2010 13:11:33 +0000 (15:11 +0200)
commit47ee99619806ccee5dd3d1d709e1f2032ea92442
tree97f4624919396863fa0a59b8933dc3d3dd9d3b5c
parent571e749d60aaef991dcf8cad50d1cfeb4f9fdd12
x11: Use G_DEFINE_TYPE() to define GdkVisual

Also add a priv pointer to GdkVisual and use it for the GdkVisualPrivate
structure. Then Make GdkVisualPrivate actually private to
gdkvisual-x11.c and make other callers use proper function calls to
access it.
gdk/gdkvisual.h
gdk/x11/gdkcolor-x11.c
gdk/x11/gdkprivate-x11.h
gdk/x11/gdkscreen-x11.h
gdk/x11/gdkvisual-x11.c
gdk/x11/gdkwindow-x11.c
gdk/x11/gdkx.h